package com.ldl.origami.common;

import com.ldl.origami.domain.User;
import com.ldl.origami.util.Constants;
import org.springframework.web.servlet.ModelAndView;

/**
 * 功能描述:
 * 作者: LDL
 * 创建时间: 2014/9/3 10:00
 */
public class ErrorModelAndView extends ModelAndView {

    public ErrorModelAndView(User user){
        addObject("errorMsg", Constants.ERRORMSG);
        addObject("user", user);
        setViewName("/error/error");
    }
}
